package com.hyh.music.mapper;

import com.hyh.music.domain.domains.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author hyh
 * @version 1.0
 * 管理员mapper
 */

@Mapper
public interface AdminMapper {
    @Select("select * from admin where name = #{name}")
    Admin getByName(@Param("name") String name);
}
